echo ""
rm -rf "wqy-microhei.tar.gzaa"
rm -rf "wqy-microhei.tar.gzab"
rm -rf "wqy-microhei.tar.gzac"
# 引用 https://blog.csdn.net/lxyoucan/article/details/117173391 文章编写！
echo "==========================="
echo "Thanks for your use."
echo "This script was built by Steve372~"
echo "Version: 1.0.0"
echo "Hope to give you some help!"
echo "==========================="
echo ""
echo "Please wait 3 seconds..."
$(sleep 3)
echo "Installing dependencies..."
$(sleep 1)
apk add curl wget
$(sleep 1)
echo "Downloading wqy-microhei..."
$(wget -q https://gitee.com/steve372/alpine-linux-tools/raw/master/fonts/wqy-microhei.tar.gzaa)
$(wget -q https://gitee.com/steve372/alpine-linux-tools/raw/master/fonts/wqy-microhei.tar.gzab)
$(wget -q https://gitee.com/steve372/alpine-linux-tools/raw/master/fonts/wqy-microhei.tar.gzac)
sleep 1
echo "Installing wqy-zenhei..."
$(cat wqy-microhei.tar.gz* | tar -zxvf)
fc-cache -vf
echo "字体应该已经安装好了～谢谢你使用我！"